#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"
void test1()
{
	SList* s=NULL;
	SLPushFront(&s, 1);
	PrintSL(s);
}
void test2()
{
	SList* s = NULL;
	SLPushFront(&s, 1);
	SLPushback(&s, 6);
	PrintSL(s);
}
void test3()
{
	SList* s = NULL;
	SLPushFront(&s, 1);
	SLPushback(&s, 6);
	SLPushback(&s, 2);
	SLPushback(&s, 5);
	SLPopback(&s);
	//SLPopFront(&s);
	PrintSL(s);
}
void test4()
{
	SList* s = NULL;
	SLPushFront(&s, 1);
	SLPushback(&s, 6);
	SLPushback(&s, 2);
	SLPushback(&s, 5);
	InsertSL(&s, 3, 9);
	//SLPopback(&s);
	//SLPopFront(&s);
	PrintSL(s);
}
int main()
{
	//test1();
	//test2();
	//test3();
	test4();

	return;
}
